package com.example.service;

import com.example.dto.EmployeeDTO;
import com.example.dto.EmployeeLoginDTO;
import com.example.result.PageBeanResult;

import java.util.List;

public interface EmployeeService {
    EmployeeDTO login(EmployeeLoginDTO employeeLoginDTO) ;

    PageBeanResult showEmployee(Integer page,Integer pageSize);

    void deleteEmployee(Integer id);

    void addEmployee(EmployeeDTO emp);

    PageBeanResult selectEmployee(String name, Integer page, Integer pageSize);

    void starOrStop(Integer status, Integer id);

    EmployeeDTO getById(Integer id);

    void updateEmployee(EmployeeDTO employeeDTO);

    void changePassWord(String pwd,Integer id);

    void deleteEmps(List<Integer> ids);
}
